package com.tsing.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.wms.entity.StockEntity;
import com.tsing.wms.vo.PageResultVO;
import com.tsing.wms.vo.req.IdReqVO;
import com.tsing.wms.vo.req.StockReqVO;
import com.tsing.wms.vo.req.SupplierPageReqVO;
import com.tsing.wms.vo.resp.StockRespVO;

import javax.servlet.http.HttpServletRequest;

/**
 * @author TheTsing
 * @create 2022-04-17 15:31
 */
public interface IStockService extends IService<StockEntity> {

    void addStock(StockReqVO reqVO, HttpServletRequest request);

    StockRespVO getStock(IdReqVO reqVO);

    void updateStock(StockReqVO reqVO, HttpServletRequest request);

    PageResultVO<StockRespVO> stockPage(SupplierPageReqVO reqVO);

}
